package com.ruoyi.mes.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品库存对象 pro_stock
 *
 * @author LongAndHao
 * @date 2023-04-04
 */
public class ProStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 库房ID */
    private Long houId;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String proCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String proName;

    /** 产品类型  */
    @Excel(name = "产品类型 ")
    private Long proType;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long proQuantity;

    /** 库房名称 */
    @TableField(exist = false)
    @Excel(name = "库房名称")
    private String houName;

    /** 库房剩余容量 */
    @TableField(exist = false)
    @Excel(name = "库房剩余容量")
    private Long houRemainCapacity;

    /** 库位编码 */
    @TableField(exist = false)
    @Excel(name = "库房剩余容量")
    private String locatorCode;

    public String getLocatorCode() {
        return locatorCode;
    }

    public void setLocatorCode(String locatorCode) {
        this.locatorCode = locatorCode;
    }

    public String getHouName() {
        return houName;
    }

    public void setHouName(String houName) {
        this.houName = houName;
    }

    public Long getHouRemainCapacity() {
        return houRemainCapacity;
    }

    public void setHouRemainCapacity(Long houRemainCapacity) {
        this.houRemainCapacity = houRemainCapacity;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHouId(Long houId)
    {
        this.houId = houId;
    }

    public Long getHouId()
    {
        return houId;
    }
    public void setProCode(String proCode)
    {
        this.proCode = proCode;
    }

    public String getProCode()
    {
        return proCode;
    }
    public void setProName(String proName)
    {
        this.proName = proName;
    }

    public String getProName()
    {
        return proName;
    }
    public void setProType(Long proType)
    {
        this.proType = proType;
    }

    public Long getProType()
    {
        return proType;
    }
    public void setProQuantity(Long proQuantity)
    {
        this.proQuantity = proQuantity;
    }

    public Long getProQuantity()
    {
        return proQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houId", getHouId())
            .append("proCode", getProCode())
            .append("proName", getProName())
            .append("proType", getProType())
            .append("proQuantity", getProQuantity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
